@echo off

if not exist client\ebin md client\ebin
del /q client\ebin\*

del /q client\src\pb\*
xcopy %CD%\..\..\data\erlang\* client\src\pb\ /y
xcopy %CD%\..\..\data\erlang.common\* client\include\ /y

cd client\
erl -noshell -s make all -s init stop

erl -pa ebin -s client
